package com.crm.jdy.common.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.crm.jdy.common.vo.PageVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ProjectInfoDto  extends PageVO implements Serializable {

    private static final long serialVersionUID = 161792513L;


    @TableId(value = "pro_id", type = IdType.ID_WORKER_STR)
    @ApiModelProperty(name = "proId" , value = "项目主键id")
    private String proId;

    @ApiModelProperty(name = "proName" , value = "项目名称")
    private String proName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "proStartTime" , value = "开始时间")
    private Date proStartTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "proEndTime" , value = "结束时间")
    private Date proEndTime;

    @ApiModelProperty(name = "proTeam" , value = "团队")
    private String proTeam;

    @ApiModelProperty(name = "proPerson" , value = "负责人")
    private String proPerson;

    @ApiModelProperty(name = "proRelation" , value = "项目关联")
    private String proRelation;

    @ApiModelProperty(name = "proRequire" , value = "项目需求")
    private String proRequire;

    @ApiModelProperty(name = "proDesc" , value = "描述")
    private String proDesc;

    @ApiModelProperty(name = "proStatus" , value = "状态")
    private String proStatus;

    @ApiModelProperty(name = "proMark" , value = "标签")
    private String proMark;

    @ApiModelProperty(name = "proTask" , value = "任务")
    private String proTask;

    @ApiModelProperty(name = "proLevel" , value = "项目优先级")
    private String proLevel;

    @ApiModelProperty(name = "proCrePerson" , value = "创建人")
    private String proCrePerson;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "createTime" , value = "创建时间")
    private Date createTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "updateTime" , value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(name = "proUpdPerson" , value = "更新人")
    private String proUpdPerson;

    @ApiModelProperty(name = "isDelete" , value = "0正常 1删除")
    private Integer isDelete;


}